//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Grand Ole Opry: Jelly Roll, Alexandra Kay, Craig Morgan & Warren Zeiders','Grand Ole Opry House','Nashville, TN','Wednesday','6/5/2024','7:00 PM','6316261','Grand-Ole-Opry--Jelly-Roll--Alexandra-Kay--Craig-Morgan---Warren-Zeiders-6-5-2024'],['Grand Ole Opry: Jelly Roll, Alexandra Kay, Craig Morgan & Warren Zeiders','Grand Ole Opry House','Nashville, TN','Wednesday','6/5/2024','9:30 PM','6389548','Grand-Ole-Opry--Jelly-Roll--Alexandra-Kay--Craig-Morgan---Warren-Zeiders-6-5-2024'],['Alexandra Kay','Egyptian Room At Old National Centre','Indianapolis, IN','Thursday','6/6/2024','8:00 PM','6304045','Alexandra-Kay-6-6-2024'],['Tailgate N Tallboys Music Festival: Bailey Zimmerman - Friday (Time: TBD)','Clinton Riverfront','Clinton, IA','Friday','6/7/2024','12:00 PM','5983307','Tailgate-N-Tallboys-Music-Festival--Bailey-Zimmerman---Friday--Time--TBD--6-7-2024'],['Faster Horses Festival: Jelly Roll, Lainey Wilson & Hardy - 3 Day Pass','Faster Horses Grounds','Brooklyn, MI','Friday','7/19/2024','TBD','6240345','Faster-Horses-Festival--Jelly-Roll--Lainey-Wilson---Hardy---3-Day-Pass-7-19-2024'],['Alexandra Kay','House Of Blues - Cleveland','Cleveland, OH','Friday','7/19/2024','8:00 PM','6426346','Alexandra-Kay-7-19-2024'],['Alexandra Kay','Bogarts','Cincinnati, OH','Sunday','7/21/2024','8:00 PM','6425863','Alexandra-Kay-7-21-2024'],['Alexandra Kay','The Rave II - Milwaukee','Milwaukee, WI','Tuesday','7/23/2024','8:00 PM','6426341','Alexandra-Kay-7-23-2024'],['Tailgate N Tallboys Music Festival: Jelly Roll, Quinn XCII & Jessie Murph - 2 Day Pass','Midland County Fair','Midland, MI','Friday','7/26/2024','TBD','6057029','Tailgate-N-Tallboys-Music-Festival--Jelly-Roll--Quinn-XCII---Jessie-Murph---2-Day-Pass-7-26-2024'],['Tailgate N Tallboys Music Festival: Jelly Roll, Warren Zeiders & Alexandra Kay - Saturday','Midland County Fair','Midland, MI','Saturday','7/27/2024','4:00 PM','6057031','Tailgate-N-Tallboys-Music-Festival--Jelly-Roll--Warren-Zeiders---Alexandra-Kay---Saturday-7-27-2024']],'"Alexandra Kay"','https://www.ticketnetwork.com');